/**
 * @file 详情页
 */
import React, { useState, useRef } from 'react'
import styles from '../style.less'
import { connect } from 'dva'
import pageConfig from '../config/pageConfig'
const { namespace } = pageConfig

function index(props: any) {
    const {
        [namespace]: {},
        actions,
    } = props

    return (
        <div className='pageBox'>
            <div className='contentPrimary'></div>
        </div>
    )
}
const mapStateToProps = (props: any) => {
    return {
        [namespace]: props[namespace],
    }
}
const mapDispatchToProps = (dispatch: any) => {
    return {
        actions: {
            // fetchcateGoryId(payload: any) {
            //   dispatch({
            //     type: `${namespace}/fetchUpdateCateGoryId`,
            //     payload,
            //   });
            // },
        },
    }
}
export default connect(mapStateToProps, mapDispatchToProps)(index)
